
Page({
  data: {
    noticeList:[]
  },
  onLoad(){
    this.getNoticeList()
  },
  async getNoticeList() {
    const { data } = await wx.http.get('/announcement')
    this.setData({
      noticeList: data
    })
  },
})
